#include("/front/family/_layout.html")
#@layout()
#define layoutImportcss()
    <link rel="stylesheet" href="/front/css/sheet.css">
    <link rel="stylesheet" href="/front/css/popup.css">
    <link rel="stylesheet" href="/front/css/smart-select.css">
#end
#define layoutHead()
	<title>宝宝资料</title>
#end
#define layoutHome()
<div class="navbar">
	<div class="navbar-inner toolbstyle">
		<div class="left">
			<a class="link external back" href="javascript:window.location.href='/front/family/parent'">
				<i class="icon icon-back"></i>
			</a>
		</div>
		<div class="title">宝宝资料</div>
		<div class="right"></div>
	</div>
</div>

<div class="page-content patriarch-page-content">

	<div class="list">
		<ul>
			<li>
				<div class="item-content">
					<div class="item-inner">
						<div class="item-title">宝宝姓名</div>
						<div class="item-value">#(student_rd.getStr("student_name") ?? "")</div>
					</div>
				</div>
			</li>
			<li>
				<div class="item-content">
					<div class="item-inner">
						<div class="item-title">宝宝生日</div>
						<div class="item-value" id="student_birthday">#(student_rd.getStr("student_birthday") ?? "")</div>
					</div>
				</div>
			</li>
			<li>
				<div class="item-content">
					<div class="item-inner">
						<div class="item-title">宝宝学号</div>
						<div class="item-value">#(student_rd.getStr("student_sno") ?? "")</div>
					</div>
				</div>
			</li>
			<li>
				<div class="item-content">
					<div class="item-inner">
						<div class="item-title">联系方式</div>
						<div class="item-value">#(student_rd.getStr("student_mobile") ?? "")</div>
					</div>
				</div>
			</li>
			<li>
				<div class="item-content">
					<div class="item-inner">
						<div class="item-title">住址</div>
						<div class="item-value">#(student_rd.getStr("home_address") ?? "")</div>
					</div>
				</div>
			</li>
			<li>
				<div class="item-content">
					<div class="item-inner">
						<div class="item-title">所在班级</div>
						<div class="item-value">#(student_rd.getStr("class_name") ?? "")</div>
					</div>
				</div>
			</li>
		</ul>
	</div>
</div>

#end
#define layoutImportjs()
    <script type="text/javascript" src="/front/js/sheet.js"></script>
    <script type="text/javascript" src="/front/js/popup.js"></script>
    <script type="text/javascript" src="/front/js/smart-select.js"></script>
#end
#define layoutScript()
<script type="text/javascript">
	var baby_day = $$('#student_birthday').text();
	if (!isBlank(baby_day)){
		$$('#student_birthday').text(formatDate(baby_day, 'yyyy-MM-dd'));
	}
</script>
#end